package com.zone.domain.rebate.repository;

import com.zone.domain.rebate.model.aggregate.UserRebateCreateOrderAggregate;
import com.zone.domain.rebate.model.entity.DailyBehaviorRebateEntity;
import com.zone.domain.rebate.model.entity.UserBehaviorRebateOrderEntity;
import com.zone.domain.rebate.model.valobj.BehaviorTypeEnum;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

/**
 * @author: zongzi
 * @description: TODO
 * @date: 2025/3/3
 */
public interface IBehaviorRebateRepository {

    List<DailyBehaviorRebateEntity> queryDailyBehaviorRebate(BehaviorTypeEnum behaviorType);

    void createRebateOrder(List<UserRebateCreateOrderAggregate> createOrderAggregates);

    List<UserBehaviorRebateOrderEntity> queryUserBehaviorRebateOrderList(String userId, BehaviorTypeEnum behaviorType, LocalDate orderDate);
}
